package com.example.demo.service;

import cn.hutool.json.JSONArray;
import com.example.demo.common.Result;
import com.example.demo.entity.ScRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.entity.excel.CheckExportEntity;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.text.ParseException;
import java.util.List;
import java.util.Map;

public interface ScRecordService extends IService<ScRecord> {

    Map<String, Object> export1(String date1, String date2, String department);

    JSONArray getRank(String date1, String date2, String department);

    List<String> getDate(String date);

    List<CheckExportEntity> page(List<CheckExportEntity> dataList, int pageSize, int currentPage);
}
